﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="InvitePplToEvent.aspx.cs" Inherits="Event_SG_EWDT.InvitePplToEvent" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>Invite To Event</title>
	<link href="Styles/InvitePplToEvent.css" rel="stylesheet" type="text/css" />
	  <script type="text/javascript">
		  $(document).ready(function () {
			  $(".tbx_field_multi_emails").watermarkify();
		  });
</script>

	<style type="text/css">
		.style6
		{
			width: 100%;
		}
		.style7
		{
			height: 17px;
		}
		.style8
		{
			width: 223px;
		}
		.style9
		{
			height: 17px;
			}
	</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div class="divInvitePplToEvent">
<p class="p_Invite">
	Invite people through groups</p>
	<table class="style6">
		<tr>
			<td class="style8">
		<asp:Label ID="lblInviteGroup" runat="server" CssClass="lbl_field_Invite" 
			Text="Group to invite"></asp:Label>
			</td>
			<td>
				<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="3" 
					Font-Size="Large" CellSpacing="20" DataSourceID="InviteToEventSouce" 
					DataTextField="group_name" DataValueField="group_id" >
				</asp:CheckBoxList>
				<asp:ObjectDataSource ID="InviteToEventSouce" runat="server" 
					SelectMethod="RetrieveMemberGroupByMemberID" TypeName="Event_SG_EWDT.DBQUERIES">
					<SelectParameters>
						<asp:SessionParameter Name="memid" SessionField="Member" Type="String" />
					</SelectParameters>
				</asp:ObjectDataSource>
			</td>
		</tr>
		<tr>
			<td class="style9" colspan="2">
<p class="p_Invite">
	Invite people through emails</p>
			</td>
		</tr>
		<tr>
			<td class="style9">
		<asp:Label ID="lblInviteToEventEmails" runat="server" CssClass="lbl_field_Invite" 
			Text="Group to invite"></asp:Label>
			</td>
			<td class="style7">
				<asp:TextBox ID="tbxInviteToEventEmails" runat="server" CssClass="tbx_field_multi_emails" 
					TextMode="MultiLine" Height="158px" Width="577px" 

                    title="Enter email address here followed by a semi-comma(;) e.g: alan@live.com;paul@gmail.com"></asp:TextBox>

			</td>
		</tr>
		<tr>
			<td class="style9">
				&nbsp;</td>
			<td class="style7">
				<asp:Button ID="btnInviteToEvent" runat="server" CssClass="btnInvite" 
					Text="Invite!" onclick="btnInviteToEvent_Click" />
			</td>
		</tr>
	</table>


</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
